package cn.appsys.biz;

import java.util.Date;
import java.util.List;

import cn.appsys.pojo.AppInfo;
import cn.appsys.pojo.AppVersion;
import cn.appsys.pojo.DataDictionary;

public interface AppInfoBiz {
	int pageCount(String softwareName,
			int status,
			int flatform,
			int categoryLevel1,
			int categoryLevel2,
			int categoryLevel3);
	List<AppInfo> getAppInfos(String softwareName,
			int status,
			int flatform,
			int categoryLevel1,
			int categoryLevel2,
			int categoryLevel3,int pageIndex,int pageSize);
	int addAppInfo(AppInfo appInfo);
	int updateAppInfo(AppInfo appInfo);
	int updateVersion(AppVersion appVersion);
	AppInfo getById(int id);
	int deleteAppInfo(int id);
	int updateStatus(int id,int valueId);
	int updateOnOff(int id,int typeNumber,Date date);
	
}
